﻿using System;

namespace XUCrypto
{
    public class XUCryptoBase64
    {
        public static string Encrypt(byte[] bytes)
        {
            return Convert.ToBase64String(bytes);
        }

        public static byte[] Decrypt(string rbytes)
        {
            return Convert.FromBase64String(rbytes);
        }
    }
}